From 8410fdf499f1c03139c667eab9bc7040245f1914 Mon Sep 17 00:00:00 2001 From: "cl349@firebug.cl.cam.ac.uk" Date: Wed, 14 Sep 2005 19:17:22 +0000 Subject: [PATCH] Always allow transaction abort. Signed-off-by: Christian Limpach --- tools/python/xen/xend/xenstore/xstransact.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tools/python/xen/xend/xenstore/xstransact.py b/tools/python/xen/xend/xenstore/xstransact.py index 950262c924..08e3d9626a 100644 --- a/tools/python/xen/xend/xenstore/xstransact.py +++ b/tools/python/xen/xend/xenstore/xstransact.py @@ -36,8 +36,6 @@ class xstransact: return xshandle().transaction_end(False) def abort(self): - if not self.in_transaction: - raise RuntimeError self.in_transaction = False return xshandle().transaction_end(True) -- 2.30.2